package framework;

import java.awt.Image;
import java.util.Random;

import javax.swing.ImageIcon;

public class Util {

    public static final int TARGET_FPS = 60;
    public static final Random random = new Random();

    public static final Image loadImage(String fileName) {
        return new ImageIcon(fileName).getImage();
    }

    public static final int random(int range) {
        return random.nextInt(range);
    }
}
